package benny_driving_ser.entity;

public class DriLocation {
	int driid, state, stars;
	double log, lat, dis;
	String addtime;

	public DriLocation(int driid, double log, double lat, String addtime,
			double dis, int state, int stars) {
		this.driid = driid;
		this.log = log;
		this.lat = lat;
		this.addtime = addtime;
		this.dis = dis;
		this.state = state;
		this.stars = stars;

	}

	public int getDriid() {
		return driid;
	}

	public void setDriid(int driid) {
		this.driid = driid;
	}

	public double getLog() {
		return log;
	}

	public void setLog(double log) {
		this.log = log;
	}

	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public String getAddtime() {
		return addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getStars() {
		return stars;
	}

	public void setStars(int stars) {
		this.stars = stars;
	}

	public double getDis() {
		return dis;
	}

	public void setDis(double dis) {
		this.dis = dis;
	}

	@Override
	public String toString() {
		return "DriLocation [driid=" + driid + ", state=" + state + ", stars="
				+ stars + ", log=" + log + ", lat=" + lat + ", dis=" + dis
				+ ", addtime=" + addtime + "]";
	}

}
